<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>瀑布流布局-column</title>
    <style>
      .box {
        margin: 10px;
        column-count: 3;
        column-gap: 10px;
      }
      .item {
        margin-bottom: 10px;
      }
      .item img {
        width: 100%;
        height: 100%;
      }
    </style>
  </head>
  <body>
    <div class="box">
      <div class="item">
        <img src="./imgs/1.jpg" alt="1" />
      </div>
      <div class="item">
        <img src="./imgs/2.jpg" alt="2" />
      </div>
      <div class="item">
        <img src="./imgs/3.jpg" alt="3" />
      </div>
      <div class="item">
        <img src="./imgs/1.jpg" alt="1" />
      </div>
      <div class="item">
        <img src="./imgs/2.jpg" alt="2" />
      </div>
      <div class="item">
        <img src="./imgs/3.jpg" alt="3" />
      </div>
      <div class="item">
        <img src="./imgs/1.jpg" alt="1" />
      </div>
      <div class="item">
        <img src="./imgs/2.jpg" alt="2" />
      </div>
      <div class="item">
        <img src="./imgs/3.jpg" alt="3" />
      </div>
      <div class="item">
        <img src="./imgs/1.jpg" alt="1" />
      </div>
      <div class="item">
        <img src="./imgs/2.jpg" alt="2" />
      </div>
      <div class="item">
        <img src="./imgs/3.jpg" alt="3" />
      </div>
      <div class="item">
        <img src="./imgs/1.jpg" alt="1" />
      </div>
      <div class="item">
        <img src="./imgs/2.jpg" alt="2" />
      </div>
      <div class="item">
        <img src="./imgs/3.jpg" alt="3" />
      </div>
      <div class="item">
        <img src="./imgs/1.jpg" alt="1" />
      </div>
      <div class="item">
        <img src="./imgs/2.jpg" alt="2" />
      </div>
      <div class="item">
        <img src="./imgs/3.jpg" alt="3" />
      </div>
      <div class="item">
        <img src="./imgs/1.jpg" alt="1" />
      </div>
      <div class="item">
        <img src="./imgs/2.jpg" alt="2" />
      </div>
      <div class="item">
        <img src="./imgs/3.jpg" alt="3" />
      </div>
      <div class="item">
        <img src="./imgs/1.jpg" alt="1" />
      </div>
      <div class="item">
        <img src="./imgs/2.jpg" alt="2" />
      </div>
      <div class="item">
        <img src="./imgs/3.jpg" alt="3" />
      </div>
    </div>
  </body>
</html>
